package com.ming.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created by mqsi on 2022/5/16 19:32
 */
@Controller
@RequestMapping("/thymeleaf")
public class ThymeleafController {

	@RequestMapping("/sayHello")
	public String sayHello(Map<String, Object> map) {
		map.put("thymeleaf", "你好， Thymeleaf!!!");
		return "/Thymeleaf";
	}
}
